package com.henry.db.migrate.config;

/**
 * db.xml配置文件对应的静态类，配置了工程默认的数据库连接
 *
 * @author Administrator
 */
public class DbConfig {
    final String driver;
    final String url;
    final String username;
    final String password;
    private boolean pooled;
    private int poolsize;

    public DbConfig(String driver, String url, String username, String password) {
        this.driver = driver;
        this.url = url;
        this.username = username;
        this.password = password;
    }

    public String getDriver() {
        return driver;
    }

    public String getUrl() {
        return url;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public boolean isPooled() {
        return pooled;
    }

    public void setPooled(boolean pooled) {
        this.pooled = pooled;
    }

	public int getPoolsize() {
		return poolsize;
	}

	public void setPoolsize(int poolsize) {
		this.poolsize = poolsize;
	}

    
}
